﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<DNB.Data.LOCATION>" %>

<!DOCTYPE html>

<html>
<head runat="server">
    <meta name="viewport" content="width=device-width" />
    <title>Insert Latitude and Longitude Page </title>
   <style type="text/css">
        .style1
        {
            width: 50%;
        }
        .style2
        {
            width: 50px;
        }
    </style>
</head>
<body>
    <% using (Html.BeginForm())
       { %>
            <table class="style1">
        <tr>
            <td class="style2">
                Name:</td>
            <td><%: Html.TextBoxFor(model => model.Name) %></td>
        </tr>
        <tr>
            <td class="style2">
                Latitude:</td>
            <td><%: Html.TextBoxFor(model => model.Y)%></td>
        </tr>
        <tr>
            <td class="style2">
                Longitude:</td>
            <td><%: Html.TextBoxFor(model => model.X) %></td>
        </tr>
          <tr>
              <td class="style2">&nbsp;</td>
              <td >
                  <input type="submit" value="Update"/>
              </td>
          </tr>
    </table>
      <% } %>
        
</body>
</html>
